package com.zhf.springboot.config;

import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author: 曾鸿发
 * @create: 2022-01-10 23:22
 * @description：
 **/
@Configuration
public class HelloWorldConfig {

    @Bean
    public Queue setQueue(){
        return new Queue("helloWorldqueue");
    }
}
